Faster Funny Matrix Multiplication for the All-Pairs Shortest Paths Problem
نویسنده
چکیده
Funny Matrix Multiplication (FMM) is a matrix multiplication operation in which the scalar addition and multiplication operations are replaced by the scalar minimization and addition operations, respectively. It is a fundamental computational task for matrices and its applications include the allpairs shortest paths problem. Recently McAuley and Caetano have proposed a new algorithm whose expected computation time is significantly shorter than that of the straightforward FMM computation, while the worst-case time complexity remains unchanged. This paper gives an improved faster FMM algorithm that exploits instruction-level parallelism. By using this new algorithm, the all-pairs shortest paths problem can be solved much more quickly than with the Floyd-Warshall algorithm.
منابع مشابه
Combining Shortest Paths, Bottleneck Paths and Matrix Multiplication
We provide a formal mathematical definition of the Shortest Paths for All Flows (SP-AF) problem and provide many efficient algorithms. The SP-AF problem combines the well known Shortest Paths (SP) and Bottleneck Paths (BP) problems, and can be solved by utilising matrix multiplication. Thus in our research of the SP-AF problem, we also make a series of contributions to the underlying topics of ...
متن کاملAll Pairs Shortest Paths Algorithms
Given a communication network or a road network one of the most natural algorithmic question is how to determine the shortest path from one point to another. In this paper we deal with one of the most fundamental problems of Graph Theory, the All Pairs Shortest Path (APSP) problem. We study three algorithms namely The FloydWarshall algorithm, APSP via Matrix Multiplication and the Johnson’s alg...
متن کاملAn expected-case sub-cubic solution to the all-pairs shortest path problem in R
It has been shown by Alon et al. that the so-called ‘all-pairs shortest-path’ problem can be solved in O((MV ) log(V )) for graphs with V vertices, with integer distances bounded by M . We solve the more general problem for graphs in R (assuming no negative cycles), with expected-case running time O(V 2.5 log(V )). While our result appears to violate the Ω(V ) requirement of “Funny Matrix Multi...
متن کاملFast algorithms for (max, min)-matrix multiplication and bottleneck shortest paths
Given a directed graph with a capacity on each edge, the all-pairs bottleneck paths (APBP) problem is to determine, for all vertices s and t, the maximum flow that can be routed from s to t. For dense graphs this problem is equivalent to that of computing the (max,min)transitive closure of a real-valued matrix. In this paper, we give a (max,min)-matrix multiplication algorithm running in time O...
متن کاملSolving path problems on the GPU
We consider the computation of shortest paths on Graphic Processing Units (GPUs). The blocked recursive elimination strategy we use is applicable to a class of algorithms (such as all-pairs shortest-paths, transitive closure, and LU decomposition without pivoting) having similar data access patterns. Using the all-pairs shortest-paths problem as an example, we uncover potential gains over this ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011